/**
 * Created by yan_my on 2016/10/30.
 */
public class main {
    public static void main (String[] args) throws Exception{
        cutImage mycut = new cutImage("input/origin.jpg","output/cut.jpg");
        mycut.cut(300,250);
        shrinkImage myshrink =new shrinkImage("input/origin.jpg","output/shrink.jpg",3);
        myshrink.shrink();
        enlargeImage myenlarge =new enlargeImage("input/origin.jpg","output/enlarge.jpg",3);
        myenlarge.enlarge();
    }
}
